package com.zlikun.lq.l_62;

import com.zlikun.lq.Employee;

public class EmployeeTest {

	public static void main(String[] args) {
		//引用传递
		Employee emp = new Employee(25);
		emp.addSalary(emp);
		System.out.println(emp.getSalary());
		//值传递
		int age = 5;
		int changeAge = emp.addAge(age);
		System.out.println(age+",参数:"+changeAge);
	}

}
